Vue.createApp({
    data() {
        return{
            user:{
                userName:'',
                password:'',
                beginPass:'',
                sex:0,
                like:[],
                nationality:0,
                brief:''
            }
        }
    },
    methods: {
        reg(){
            console.log(this.user)
        }
    }

}).mount('#app')